package com.library.domain;

/**
 * @Author julyWhj
 * @Description $
 * @Date 2022/3/28 11:10 上午
 **/

import com.library.common.annotation.Excel;
import com.library.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 热门配置对象 hot_config
 *
 * @author ruoyi
 * @date 2022-03-28
 */
public class HotConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 热门ID
     */
    @Excel(name = "热门ID")
    private String hotId;

    /**
     * 1:热门图书 2 ：热门活动
     */
    @Excel(name = "1:热门图书 2 ：热门活动")
    private Integer hotType;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }


    public void setHotType(Integer hotType) {
        this.hotType = hotType;
    }

    public Integer getHotType() {
        return hotType;
    }

    public String getHotId() {
        return hotId;
    }

    public void setHotId(String hotId) {
        this.hotId = hotId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("hotId", getHotId())
                .append("hotType", getHotType())
                .toString();
    }
}